<template>
  <CustomFormItemWrap :title="title" :colon="colon">
    <a-select
    :mode="mode"
    :size="size"
    placeholder="请选择"
    v-model="value"
    :style="styleFilter(element.style)"
    allowClear
    @change="(value)=> handleChange(value, 'value', element.key)" >
    <a-select-option 
      v-for="item in options" 
      :key="item.value" >
      {{ item.label }}
    </a-select-option>
  </a-select>
  </CustomFormItemWrap>
</template>

<script>
import { mapState } from "vuex"
import formMixin from "../formMixin.js"
import { getProps } from "./attr"
console.log(formMixin)
export default {
  mixins: [formMixin],
  props: getProps(),
}
</script>

<style lang="less" scoped>

</style>
